package com.mxchip.livestar.base

import android.app.Application
import androidx.annotation.StringRes
import androidx.lifecycle.AndroidViewModel

fun AndroidViewModel.getString(@StringRes resId: Int):String {
    return getApplication<Application>().getString(resId)
}
